export interface ColumnProps {
  //专栏列表
  id: number;
  title: string; // 标题
  avatar: string; // 头像
  description: string; // 描述
}

export const testDate: ColumnProps[] = [
  {
    id: 1,
    title: "text的专栏",
    description: "这个非常有意思",
    avatar:
      "https://picx.zhimg.com/v2-3ede3844e97f338bb6569e649e08314a_l.jpg?source=d16d100b",
  },
  {
    id: 2,
    title: "text的专栏",
    description: "这个非常有意思",
    avatar:
      "https://pica.zhimg.com/v2-6b4ec3de35275c8ceb622267bd1fc078_l.jpg?source=d16d100b",
  },
  {
    id: 3,
    title: "text的专栏",
    description: "这个非常有意思",
    avatar: "",
  },
  {
    id: 4,
    title: "text的专栏",
    description: "这个非常有意思",
    avatar:
      "https://picx.zhimg.com/v2-2fae2561cbb15474d9cc4ab1a35ac252_l.jpg?source=d16d100b",
  },
];

export interface PostProps {
  //文章列表
  id: number;
  title: string;
  content: string; // 內容
  image?: string; // 图片
  createdAt: string; // 发布时间
  columnId: number; // 文章 Id，因为你点开的那个文章要和你的文章Id做匹配
}
export const testProps: PostProps[] = [
  {
    id: 1,
    title: "勇士总冠军1",
    content: "asdhaosasohdoaasufa",
    image:
      "https://picx.zhimg.com/v2-2fae2561cbb15474d9cc4ab1a35ac252_l.jpg?source=d16d100b",
    createdAt: "2023-04-12",
    columnId: 1, // 这个id和上面的id匹配
  },
  {
    id: 2,
    title: "勇士总冠军2",
    content: "asdhaosasohdoaasufa",
    image:
      "https://picx.zhimg.com/v2-2fae2561cbb15474d9cc4ab1a35ac252_l.jpg?source=d16d100b",
    createdAt: "2023-04-12",
    columnId: 2,
  },
  {
    id: 3,
    title: "勇士总冠军3",
    content: "asdhaosasohdoaasufa",
    image:
      "https://picx.zhimg.com/v2-2fae2561cbb15474d9cc4ab1a35ac252_l.jpg?source=d16d100b",
    createdAt: "2023-04-12",
    columnId: 3,
  },
  {
    id: 4,
    title: "勇士总冠军4",
    content: "asdhaosasohdoaasufa",
    image:
      "https://picx.zhimg.com/v2-2fae2561cbb15474d9cc4ab1a35ac252_l.jpg?source=d16d100b",
    createdAt: "2023-04-12",
    columnId: 4,
  },
];
